package com.promis.party.ui.partywork.questionwall;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.promis.compat.StatusBarCompat;
import com.promis.party.R;
import com.promis.party.helper.UIHepler;
import com.promis.party.ui.partywork.dailywork.documentfile.DocumentDetailActivity;

public class StatisticsActivity extends AppCompatActivity {

    private LinearLayout llytConfirm;
    private TextView txtvTitle;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_statistics);
        StatusBarCompat.translucentStatusBar(this);
        StatusBarCompat.blackTextStatusBar(this);
        UIHepler.goBack(this, R.id.layout_top_title_imgv_close);
        txtvTitle = findViewById(R.id.layout_top_title_txtv_title);

        llytConfirm = findViewById(R.id.activity_statistics_confirm);

        initData();
        initListener();
    }
    private void initData(){
        txtvTitle.setText("问题墙统计");
    }

    private void initListener(){
        llytConfirm.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                startActivity(new Intent(getBaseContext(),ChartActivity.class));
            }
        });
    }
}
